package com.sina.interfaces.manage.web.controller;

import com.sina.interfaces.core.web.BaseController;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * created  on 13/06/2017.
 */
@Controller("defaultController")
@RequestMapping("/")
public class DefaultController extends BaseController {

    @RequestMapping("unauthorized")
    public String unauthorized(){
        return "unauthorized";
    }

    @GetMapping(value = "home")
    public String home(){
        return "home";
    }

}
